package com.heima.article.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.heima.model.article.pojos.ApArticle;
import com.heima.model.article.pojos.ApArticleContent;
import com.heima.model.common.dtos.ResponseResult;
import com.heima.model.wemedia.pojos.pojos.WmNews;

import java.util.Map;

/**
 * @author mgw
 * @create 2021/9/26 17:29
 */
public interface ApArticleService extends IService<ApArticle> {

     ResponseResult homeList(Integer tag, Integer page, Integer size);


    ResponseResult<ApArticleContent> findArticleById(String articleId);

    ResponseResult updateStaticUrl(String url,String id);

    void syncArticle(WmNews wmNews);

    void downOrUp(Map<String, Object> resultMap);
}
